/*
 * display.c
 *
 *  Created on: May 31, 2021
 *      Author: kirk_
 */

#include "display.h"

void Display_Team(void)
{
	OLED_ShowStringRefresh(3,4,"No License",24,1);
}

void Display_Patio(uint8_t p)
{
	switch(p)
	{
	case 1: case 2:
		OLED_ShowStringRefresh(3,30,"Patio       ",16,1);
		OLED_ShowNumRefresh(64,30,p,1,16,1);
		break;
	default:
		OLED_ShowStringRefresh(3,30,"Initializing",16,1);
		break;
	}
}

void Display_Task(uint8_t t, uint8_t s)
{
	switch(t)
	{
	case 1: case 2: case 3:
		OLED_ShowStringRefresh(50,48,"Task",12,1);
		OLED_ShowNumRefresh(80,48,t,1,12,1);
		break;
	default:

		break;
	}
	switch(s)
	{
	case Display_Task_Goto:
		OLED_ShowStringRefresh(3,48,"Goto  ",12,1);
		break;
	case Display_Task_Doing:
		OLED_ShowStringRefresh(3,48,"Doing ",12,1);
		break;
	case Display_Task_Finish:
		OLED_ShowStringRefresh(3,48,"Finish",12,1);
		break;
	default:
		break;
	}
}
